<template>
    <div>
        <ul>
            <!-- <li> 
              <img src="../../assets/a.jpg" alt="">
            </li>
            <li>
                <span>标题名</span>
                <div>我的内容</div>
                <div>时间</div>
            </li>
            <li>
              <div>查看</div>
            </li> -->
            <slot></slot>
          </ul>
    </div>
</template>

<script>

export default {
    data () {
      return {

      }
    },

    methods: {

    },

    components: {
    },
}
</script>

<style scoped>
ul{
    display: flex;
    flex-wrap: nowrap;
    height: 110px;
    width: 100%;
    border-bottom:1px #aaaaaa solid;
    align-items: center;
    justify-content: space-between;
}
ul>li{
    height: 100%;
}
ul>li:first-child{
    display: flex;
    width: 20%;
    justify-content: center;
    align-items: center;
}
ul>li:nth-child(2){
    width: 60%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
ul>li:nth-child(2)>p{
    font-size: 14px;
    color: black;
}
ul>li:nth-child(2)>span{
    color: blue;
    font-weight: bold;
    display: block;
    text-align: left;
    width: 100%;
    font-size: 16px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
ul>li:nth-child(2)>div{
    text-align: left;
    height: 15px;
    width: 100%;
    overflow: hidden;
    text-overflow:ellipsis; 
    white-space: nowrap;
    font-size: 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
ul>li:nth-child(2)>div:last-child{
    font-size: 10px;
}
ul>li:last-child{
    width: 20%;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-around;
}
ul img{
    height: 80px;
    width: 80px;
    border: 1px solid #aaa;
}
</style>